<template>
	<view class="imgGK">
		<view class="imgItem">
			<view class="img">
				<view class="honorTag posAbso ltzero" v-if="currType == 'honor'">典型事迹</view>
			</view>
			<view class="itemTit ellip">反倒是放到沙发上附近的酸辣粉龙卷</view>
		</view>
		<view class="imgItem">
			<view class="img">
				<view class="honorTag posAbso ltzero" v-if="currType == 'honor'">典型事迹</view>
			</view>
			<view class="itemTit ellip">反倒是放到沙发上</view>
		</view>
	</view>
</template>

<script>
	export default {
		props:{
			currType:{
				type:String,
				default:'honor'
			}
		}
	}
</script>

<style lang="scss" scoped>
	.imgGK{
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		margin-bottom: -20rpx;
		.imgItem{
			width: 330rpx;
			margin-bottom: 30rpx;
			font-size: 28rpx;
			color: $sq-main0;
			.img{
				height: 200rpx;
				background: pink;
				border-radius: 16rpx;
				margin-bottom: 10rpx;
				position: relative;
				.honorTag{
					height: 40rpx;
					line-height: 40rpx;
					background: #8C70F7;
					color: #fff;
					border-radius: 16rpx 0 16rpx 0;
					padding: 0 20rpx;
					font-size: 24rpx;
				}
			}
		}
	}
</style>